import http from '@/plugins/axios/index.js';

// 下单接口
export const addOrder = (params) => {
  return http(`/lt-order/addOrder.do`, params, {
    method: 'POST'
  }).then((res) => res);
};

// 立即购买下单
export const payLessonInfo = (params) => {
  return http(`/lt-order/payLessonInfo.do`, params, {
    method: 'GET'
  }).then((res) => res);
};
